﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class ChildrenInfo : RecordInfo
    {
        private int child_seq;
        private int child_no;
        private Nullable<DateTime> fee_date_end;
        private bool fee_edu;
        private string child_status;
        private string child_status_name;
        private string edu_status;
        private HisSpouseInfo spouse_seq;
        private string child_type;
        private EmployeeInfo emp_seq;
        private PersonInfo person;
        private MasEducationDegreeInfo edu_degree_seq;
        private MasEducationInstituteInfo edu_ins_seq;

        public ChildrenInfo()
        { 
        }
        public ChildrenInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public ChildrenInfo(int Sequence, int No, Nullable<DateTime> FeeDateEnd, bool EducationFee, string Status
            , string EducationStatus, HisSpouseInfo Spouse, string Type, EmployeeInfo Employee, PersonInfo Person
            , MasEducationDegreeInfo EducationDegree, MasEducationInstituteInfo EducationInstitute
            , string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.No = No;
            this.FeeDateEnd = FeeDateEnd;
            this.EducationFee = EducationFee;
            this.Status = Status;
            this.EducationStatus = EducationStatus;
            this.Spouse = Spouse;
            this.Type = Type;
            this.Employee = Employee;
            this.Person = Person;
            this.EducationDegree = EducationDegree;
            this.EducationInstitute = EducationInstitute;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
            
        }
        public int Sequence
        {
            get { return child_seq; }
            set { child_seq = value; }
        }
        public int No
        {
            get { return child_no; }
            set { child_no = value; }
        }
        public Nullable<DateTime> FeeDateEnd
        {
            get { return fee_date_end; }
            set { fee_date_end = value; }
        }
        public bool EducationFee
        {
            get { return fee_edu; }
            set { fee_edu = value; }
        }
        public string Status
        {
            get { return child_status; }
            set { child_status = value; }
        }
        public string StatusName
        {
            get { return child_status_name; }
            set { child_status_name = value; }
        }
        public string EducationStatus
        {
            get { return edu_status; }
            set { edu_status = value; }
        }
        public HisSpouseInfo Spouse
        {
            get { return spouse_seq; }
            set { spouse_seq = value; }
        }
        public string Type
        {
            get { return child_type; }
            set { child_type = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public PersonInfo Person
        {
            get { return person; }
            set { person = value; }
        }
        public MasEducationDegreeInfo EducationDegree
        {
            get { return edu_degree_seq; }
            set { edu_degree_seq = value; }
        }
        public MasEducationInstituteInfo EducationInstitute
        {
            get { return edu_ins_seq; }
            set { edu_ins_seq = value; }
        }
    }
}
